Optimal. Leaf size=82 \[ \frac {b x^{1+m} \, _2F_1\left (1,1+m;2+m;-\frac {b x}{a}\right )}{a (b c-a d) (1+m)}-\frac {d x^{1+m} \, _2F_1\left (1,1+m;2+m;-\frac {d x}{c}\right )}{c (b c-a d) (1+m)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 82, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {88, 66}
\begin {gather*} \frac {b x^{m+1} \, _2F_1\left (1,m+1;m+2;-\frac {b x}{a}\right )}{a (m+1) (b c-a d)}-\frac {d x^{m+1} \, _2F_1\left (1,m+1;m+2;-\frac {d x}{c}\right )}{c (m+1) (b c-a d)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 66
Rule 88
Rubi steps
\begin {align*} \int \frac {x^m}{(a+b x) (c+d x)} \, dx &=\frac {b \int \frac {x^m}{a+b x} \, dx}{b c-a d}-\frac {d \int \frac {x^m}{c+d x} \, dx}{b c-a d}\\ &=\frac {b x^{1+m} \, _2F_1\left (1,1+m;2+m;-\frac {b x}{a}\right )}{a (b c-a d) (1+m)}-\frac {d x^{1+m} \, _2F_1\left (1,1+m;2+m;-\frac {d x}{c}\right )}{c (b c-a d) (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 65, normalized size = 0.79 \begin {gather*} \frac {x^{1+m} \left (-b c \, _2F_1\left (1,1+m;2+m;-\frac {b x}{a}\right )+a d \, _2F_1\left (1,1+m;2+m;-\frac {d x}{c}\right )\right )}{a c (-b c+a d) (1+m)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {x^{m}}{\left (b x +a \right ) \left (d x +c \right )}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.90, size = 102, normalized size = 1.24 \begin {gather*} - \frac {b^{m} m x^{m} \Phi \left (\frac {b x e^{i \pi }}{a}, 1, m\right ) \Gamma \left (- m\right )}{a b^{m} d \Gamma \left (1 - m\right ) - b b^{m} c \Gamma \left (1 - m\right )} + \frac {b^{m} m x^{m} \Phi \left (\frac {c e^{i \pi }}{d x}, 1, m e^{i \pi }\right ) \Gamma \left (- m\right )}{a b^{m} d \Gamma \left (1 - m\right ) - b b^{m} c \Gamma \left (1 - m\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^m}{\left (a+b\,x\right )\,\left (c+d\,x\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________